// -----------------------------------------------------------------------
//  <copyright file="DictionaryItem.cs" company="LiuliuSoft">
//      Copyright (c) 2025 66SOFT. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-10-17 01:10</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Domain.Entity;


namespace DaprPlus.DataDicts.Domain.Entities;

[Description("数据字典项")]
public class DictionaryItem : EntityBase, ILockable, ICreationTime
{
    public required string Label { get; set; }
    public required string Value { get; set; }
    public string? Remark { get; set; }
    public int Order { get; set; }
    public string? Icon { get; set; }
    public string? Color { get; set; }
    public bool IsLocked { get; set; }
    public DateTime CreatedTime { get; set; }
    public long DictionaryTypeId { get; set; }
    public DictionaryType DictionaryType { get; set; } = null!;
}
